package conson.tech.manage.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import conson.tech.manage.app.entity.pojo.AppUserRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * InterfaceName: AppUserRelationMapper
 * Description:
 * Author: HXL
 * Date: 2020/6/10 1:55 下午
 * Version: 1.0
 */
public interface AppUserRelationMapper extends BaseMapper<AppUserRelation> {
    int batchInsertAppUserRelation(@Param("relationList") List<AppUserRelation> relationList);

    int deleteByUserId(@Param("userId") Long userId);
}
